package com.ketangpai.admin.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
public class SectionDTO {
    private Integer id;
    private String parentKey;
    private String sonKey;
    private List<SectionDTO> sections = new ArrayList<>(); //子节点
}
